/**
 * Copyright 2015 Software innovation and R & D center. All rights reserved.
 * File Name: SysUserDataBean.java
 * Encoding UTF-8
 * Version: 0.0.1
 * History:	2015年4月12日
 */
package com.sirdc.modules.sys.databean;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * 
 * @author: weihuang.peng
 * @version Revision: 0.0.1
 * @Date: 2015年4月12日
 */
public class SysUserDataBean {

	private String sysId;

	@NotEmpty
	private String userId;//员工编号
	@NotEmpty
	private String name;//中文名称

	private String birthday;//出生日期
	
	private String gender;//性别
	
	private String nativeAddr;//籍贯
	
	private String position;//职位
	
	private String demo;//备注

	private String image;//头像	
	@NotEmpty
	private String password;//密码

	private String email;//电子邮箱
	@Length(min=11, max=11)
	private String mobile;//手机
	@NotEmpty
	private String deptId;//部门编号
	@NotEmpty
	private String roleId;//角色编号 ->小类id
	
	//更新密码的时候需要的数据
	private String oldPassword;//旧密码

	private String idCard;//身份证号

	private String username;//用户名

	private String nation;//民族

	private String politicalOutlook;//政治面貌

	private String floorId;//楼栋id

	
	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public String getSysId() {
		return sysId;
	}

	public void setSysId(String sysId) {
		this.sysId = sysId;
	}

	/**
	 * 用户名
	 * @return
	 */
	public String getUsername() {
		return username;
	}

	/**
	 * 用户名
	 * @param username
	 */
	public void setUsername(String username) {
		this.username = username;
	}

	/**
	 * 
	 * @return the idCard
	 */
	public String getIdCard() {
		return idCard;
	}

	/**
	 * 
	 * @param idCard the idCard to set
	 */
	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}

	/**
	 * @return the oldPassword
	 */
	public String getOldPassword() {
		return oldPassword;
	}

	/**
	 * @param oldPassword the oldPassword to set
	 */
	public void setOldPassword(String oldPassword) {
		this.oldPassword = oldPassword;
	}

	/**
	 * @return the userId
	 */
	public String getUserId() {
		return userId;
	}

	/**
	 * @param userId the userId to set
	 */
	public void setUserId(String userId) {
		this.userId = userId;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the birthday
	 */
	public String getBirthday() {
		return birthday;
	}

	/**
	 * @param birthday the birthday to set
	 */
	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}

	/**
	 * @return the gender
	 */
	public String getGender() {
		return gender;
	}

	/**
	 * @param gender the gender to set
	 */
	public void setGender(String gender) {
		this.gender = gender;
	}

	/**
	 * @return the nativeAddr
	 */
	public String getNativeAddr() {
		return nativeAddr;
	}

	/**
	 * @param nativeAddr the nativeAddr to set
	 */
	public void setNativeAddr(String nativeAddr) {
		this.nativeAddr = nativeAddr;
	}

	/**
	 * @return the demo
	 */
	public String getDemo() {
		return demo;
	}

	/**
	 * @param demo the demo to set
	 */
	public void setDemo(String demo) {
		this.demo = demo;
	}

	/**
	 * @return the image
	 */
	public String getImage() {
		return image;
	}

	/**
	 * @param image the image to set
	 */
	public void setImage(String image) {
		this.image = image;
	}

	/**
	 * @return the password
	 */
	public String getPassword() {
		return password;
	}

	/**
	 * @param password the password to set
	 */
	public void setPassword(String password) {
		this.password = password;
	}

	/**
	 * @return the email
	 */
	public String getEmail() {
		return email;
	}

	/**
	 * @param email the email to set
	 */
	public void setEmail(String email) {
		this.email = email;
	}

	/**
	 * @return the mobile
	 */
	public String getMobile() {
		return mobile;
	}

	/**
	 * @param mobile the mobile to set
	 */
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	/**
	 * @return the deptId
	 */
	public String getDeptId() {
		return deptId;
	}

	/**
	 * @param deptId the deptId to set
	 */
	public void setDeptId(String deptId) {
		this.deptId = deptId;
	}

	/**
	 * @return the roleId
	 */
	public String getRoleId() {
		return roleId;
	}

	/**
	 * @param roleId the roleId to set
	 */
	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	public String getNation() {
		return nation;
	}

	public void setNation(String nation) {
		this.nation = nation;
	}

	public String getPoliticalOutlook() {
		return politicalOutlook;
	}

	public void setPoliticalOutlook(String politicalOutlook) {
		this.politicalOutlook = politicalOutlook;
	}

	public String getFloorId() {
		return floorId;
	}

	public void setFloorId(String floorId) {
		this.floorId = floorId;
	}
}
